/*
 * create:2016年8月9日 下午3:39:13
 * author:wangds  
 */
package com.cxkj.shop.utils;

/**
 * .
 * @author wangds
 *
 */
public class WxUtils extends AbstractBusinessUtils{
  
  private static String TOKEN = "";

  public static String appId(){
    return getContext().getBean("appId");
  }
  
  public static String appSecret(){
    return getContext().getBean("appSecret");
  }
  
  public static String welcomeMsg(){
    return getContext().getBean("wxWelcomeMsg");
  }
  
  public static String getRefreshTokenUrl(){
    return ((String)getContext().getBean("wxTokenUrl"));
  }
  
  
  
  public static synchronized void setToken(String token){
    TOKEN =token;
  }
  
  public static synchronized String getToken(){
    return TOKEN;
  }

}
